﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using System.Drawing;

namespace iRCL_Crypt
{
    public class SongInfo
    {
        public UInt16 track;
        public UInt16 disk;
        public Boolean compilation;
        public String album;
        public String author;
        public String title;
        public String date;
        public String genre;
        //public Bitmap cover;
        public SongInfo()
        {
            Empty();
        }
        public void Dispose()
        {
            Empty();
        }
        private void Empty()
        {
            track = 0;
            disk = 0;
            compilation = false;
            album = null;
            author = null;
            title = null;
            date = null;
            genre = null;
            //cover = null;
        }
        public bool AreLengthsDifferent(SongInfo other)
        {
            bool r = (album.Length != other.album.Length) ||
                     (author.Length != other.author.Length) ||
                     (title.Length != other.title.Length) ||
                     (date.Length != other.date.Length) ||
                     (genre.Length != other.genre.Length);
            //cover;
            return r;
        }
    }
}
